package com.ztgf.commodity.models.service;

/**
 * author: chenyu.wang
 * date: 2020-07-07 11:13
 * Description:商品分类单位关系表服务
 */
public interface ICommodityCategoryUnitRelationService {

    /**
     * description: 添加商品类目单位关系
     * param: [categoryId, ids]
     * author: chenyu.wang
     * date: 2020-07-07
     * return: boolean
     */
    boolean add(Long userId, Long categoryId, String ids);

    /**
     * description: 根据分类id删除关联的单位
     * param: [categoryId]
     * author: chenyu.wang
     * date: 2020-07-29
     * return: boolean
     */
    boolean deleteAccordingToCategoryId(Long categoryId);
}
